package com.example.employee.service;

import com.example.employee.domain.dto.UpdateEmployeeDTO;
import com.example.employee.domain.dto.UpdatePasswordDTO;
import com.example.employee.domain.po.Employee;
import com.example.employee.domain.vo.EmployeeInfoVO;

public interface EmployeeService {
    //更新员工信息
    void updateUserInfo(UpdateEmployeeDTO updateEmployeeDTO);

    Employee getEmployeeById(Long id);

    /**
     * 更新密码
     * @param updatePasswordDTO
     */
    void updatePassword(UpdatePasswordDTO updatePasswordDTO);

    /**
     * 获取员工信息
     * @return
     */
    EmployeeInfoVO getEmployeeInfo();
}
